/**
 * 
 */
package com.p2p.front.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import com.p2p.base.annotation.LoginNeedless;
import com.p2p.base.web.controller.BaseController;

/**
 * @author ruiqi
 *
 */
@RequestMapping("/page")
@Controller
@LoginNeedless
public class PageController extends BaseController{

	@RequestMapping("/viewPage/{pageName}")
	public String viewPage(@PathVariable("pageName")String pageName){
		return "page/"+pageName;
	}
	
}
